-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MHV-66099 Images page (image download, image layout and format, download alerts) #34706
MHV-66099 Images page (image download, image layout and format, download alerts) #34706
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
{`Showing ${paginatedImages[currentPage - 1][0].index} | ||
to ${paginatedImages[currentPage - 1][0].index + | ||
(paginatedImages[currentPage - 1].length - 1)} of ${ | ||
imageList.length | ||
} records from newest to oldest`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing out this oversight.
> | ||
Check your device’s downloads location for your file. | ||
</va-banner> | ||
<br /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't use <br />
tags. Instead you can use the VA Design System margin tags, or move the alert banner outside of the <p>
tags.
@@ -41,7 +41,7 @@ const RadiologyImagesList = ({ isTesting }) => { | |||
isTesting || false, | |||
); | |||
const [isStudyJobsLoaded, setStudyJobsLoaded] = useState(isTesting || false); | |||
|
|||
const [diacomDownload, setDiacomDownload] = useState(false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The file is called is "dicom" as opposed to "diacom". Can you correct all the instances?
…ormat_and_download_alerts' of https://github.com/department-of-veterans-affairs/vets-website into MHV-66099_images_page_image_download_,_image_layout_,_format_and_download_alerts
@@ -382,12 +382,27 @@ ${record.results}`; | |||
data-dd-privacy="mask" | |||
data-dd-action-name="[lab and tests - radiology name]" | |||
> | |||
{record.name} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new <HeaderSection>
component has the header text in the header
attribute. You shouldn't need it here any longer. Double-check this in a browser.
Summary
Updated content regarding the Image Page.
This is not a bug.
Updated the JSX and already existing functions.
MHV Medical Records.
Related issue(s)
MHV-66099 Images page (image download, image layout and format, download alerts)
Screenshot
Testing done
What areas of the site does it impact?
MHV Medical Records